package booroo.basic;

import java.util.Scanner;

public class J03_Sungjuk_v2 {

	public static void main(String[] args) {
		//성적처리프로그램 v2
		Scanner sc=null; //키보드입력초기화
		String name;
		int kor, eng, mat;
		sc=new Scanner(System.in);
		System.out.print("이름s을 입력하세요 : ");
		name=sc.next();
		System.out.print("국어점수를 입력하세요 : ");
		kor=sc.nextInt();
		System.out.print("영어점수를 입력하세요 : ");
		eng=sc.nextInt();
		System.out.print("수학점수를 입력하세요 : ");
		mat=sc.nextInt();
		
		sc.close(); //키보드 입력작업 마침
		System.out.println("이름 : "+name);
		System.out.println("국어점수 : "+kor);
		System.out.println("영어점수 : "+eng);
		System.out.println("수학점수 : "+mat);

	}

}
